package com.peng._05mvcboot02.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 用户实体类
 * @Author peng
 * @Date 2024-04-22 11:15
 */
@Data
public class User {
    private int id;
    private String username;
    private  String password;
    private String nickname;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date created;
}
